module.exports = function isPromise (maybePromise) {
  return !!maybePromise && !!maybePromise.then && (typeof maybePromise.then === 'function')
}
